//import Home from '../pages/Home';
//mport About from '../pages/About';
import loadable from './loadable';
const Home = loadable(() => import('../pages/Home'));
const About = loadable(() => import('../pages/About'));



const routes = [{
    from: '/',
    to: '/home'
  },
  {
    path: '/home',
    component: Home
  },
  {
    path: '/about',
    component: About
  }

];


export default routes;